package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.entity.DeviceData;
import com.zzyl.vo.DeviceDataGraphVo;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

/**
 * @Description DeviceService
 * @Author chendongping
 * @Date 2025-05-19  18:34
 */
public interface DeviceService {
    void getAllDeviceData();

    List<ProductVo> allProduct();

    void addDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQueryDto);

    DeviceVo queryDeviceDetail(QueryDeviceDetailRequest queryDeviceDetailRequest);

    ResponseResult<QueryThingModelResponseBody.QueryThingModelResponseBodyData> queryThingModelPublished(QueryThingModelPublishedRequest request);

    ResponseResult<QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData> queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(DeleteDeviceRequest request);



}

